Skip to content

Bump SQLite to 3.53.4 and fetch the wasm from GHCR via inlay - #115

Open
andreaTP wants to merge 1 commit into
roastedroot:mainfrom
andreaTP:bump-sqlite-3.53.4
Open

Bump SQLite to 3.53.4 and fetch the wasm from GHCR via inlay#115
andreaTP wants to merge 1 commit into
roastedroot:mainfrom
andreaTP:bump-sqlite-3.53.4

Conversation

@andreaTP

Copy link
Copy Markdown
Collaborator

The libsqlite3.wasm binary is no longer committed. It is built by wasm-lib/build.sh, published to ghcr.io/roastedroot/sqlite4j-wasm by the new Publish Wasm workflow, and pulled during generate-sources by inlay:fetch, pinned by digest in wkg.lock.

CI no longer needs a C toolchain, so the build-wasm job and the download-artifact step are gone.

Sigstore verification is configured but commented out in pom.xml: inlay verifies the bundle against the wasm file bytes, so the bundle must come from cosign sign-blob attached as an OCI referrer rather than cosign sign, which signs the manifest digest instead. The publish workflow does it the former way; the pom config can be enabled once it has run.

The libsqlite3.wasm binary is no longer committed. It is built by
wasm-lib/build.sh, published to ghcr.io/roastedroot/sqlite4j-wasm by the new
Publish Wasm workflow, and pulled during generate-sources by inlay:fetch.

Integrity comes from the digest pinned in wkg.lock: the registry is resolved
on every build and a mismatch fails it.

Signature verification is configured but left commented out in pom.xml. inlay
verifies the sigstore bundle against the wasm file bytes rather than the
manifest digest, so it rejects everything `cosign sign` produces; the publish
workflow signs the manifest the standard way regardless, so verification can be
switched on once inlay is fixed.

CI no longer needs a C toolchain, so the build-wasm job and the
download-artifact step are gone.
@andreaTP
andreaTP force-pushed the bump-sqlite-3.53.4 branch from 1bd1747 to 0c777f1 Compare August 24, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant